Attahed Files for Costinot, Oldenski and Rauch, "Adaptation and the Boundary 
of Multinational Firms"

CostinotOldenskiRauchStataCode.do  -  Stata do file that produces all results presented in the paper

CostinotOldenskiRauch_SignTestData.dta  -  Stata file containing data used for sign tests

CostinotOldenskiRauchData.dta  -  Stata file containing data used for all results other than the sign tests



Data descriptions for Costinot, Oldenski and Rauch, "Adaptation and the Boundary 
of Multinational Firms"

Variables:

ctry 		-	3-digit BEA country code
country 	-	Country Name
naics 		-	4-digit NAICS industry code
naics_name 	- 	4-digit NAICS category title
year 		-	Calendar year
imp_tot 	-	Total value of all imports for consumption from the US
			Census Bureau Related Party Trade Database:
			http://sasweb.ssd.census.gov/relatedparty/
imp_rel 	-	Trade with an entity located outside the United States 
			in which the importer holds at least a 6% equity interest. 
			From the US Census Bureau Related Party Trade Database:
			http://sasweb.ssd.census.gov/relatedparty/
mshare 		-	Share of total imports that is within firm 
			(=imp_rel/imp_tot)
rtne		-	Sector-level average routineness score.  Computed
			using occupational level data on the intensity of "making
			decisions and solving problems" from the US Department of 
			Labor's Occupational Information Network (O*NET) and data 
			on occupational shares at the sector level from the Bureau
 			of Labor Statistics (BLS).  For more details on the 
			construction of this variable, see Costinot, Oldenski and 
			Rauch "Adaptation and the Boundary of Multinational Firms."
ln_KL 		-	Log of the capital/labor ratio by sector from the NBER 
			Manufacturing Database
ln_SL 		-	Log of the ratio of nonproduction to production workers by 
			sector from the NBER Manufacturing Database
zi_rs1 		-	Measure of the importance of relationship-specfic 
			investments developed by Nunn (2007) based on the Rauch 
			(1999) classification.  Available on Nathan Nunn's website:
			http://www.economics.harvard.edu/faculty/nunn/data_nunn
ln_rd 		-	Log of the ratio of research and development spending to 
			sales from the 1977 US Federal Trade Commission (FTC) 
			Line of	Business Survey
intrmd 		-	Variable measuring the degree of indermediation by sector 
			as the weighted average of retail and wholesale employment 
			shares of importing firms.  Constructed by Bernard, Jensen, 
			Redding, and Schott (2008):
			http://mba.tuck.dartmouth.edu/pages/faculty/Andrew.Bernard/ift.pdf
cv 		-	Coefficient of variation of sales by firms in a sector 
			computed using Compustat data.
wbinc 		-	Dummy variable that equals 1 if the country is classified as 
			a "high income OECD country" by the World Bank.
rstrct 		-	Dummy variable that equals 1 if the observation is included 
			in the Nunn and Trefler (2008) restricted sample of 
			countries.  A country is included in the restricted sample 
			if at least two-thirds of intrafirm US imports from that 
			country are imported by US-owned firms.


